package com.jack.bookshop.vo;

import java.math.BigDecimal;

public class OrderBookVo {
    int id;
    int order_id;
    int book_id;
    String book_title;
    String book_image_url;
    BigDecimal book_price;
    float book_discount;
    int quantity;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getOrder_id() {
        return order_id;
    }

    public void setOrder_id(int order_id) {
        this.order_id = order_id;
    }

    public int getBook_id() {
        return book_id;
    }

    public void setBook_id(int book_id) {
        this.book_id = book_id;
    }

    public String getBook_title() {
        return book_title;
    }

    public void setBook_title(String book_title) {
        this.book_title = book_title;
    }

    public String getBook_image_url() {
        return book_image_url;
    }

    public void setBook_image_url(String book_image_url) {
        this.book_image_url = book_image_url;
    }

    public BigDecimal getBook_price() {
        return book_price;
    }

    public void setBook_price(BigDecimal book_price) {
        this.book_price = book_price;
    }

    public float getBook_discount() {
        return book_discount;
    }

    public void setBook_discount(float book_discount) {
        this.book_discount = book_discount;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    @Override
    public String toString() {
        return "OrderBookVo{" +
                "id=" + id +
                ", order_id=" + order_id +
                ", book_id=" + book_id +
                ", book_title='" + book_title + '\'' +
                ", book_image_url='" + book_image_url + '\'' +
                ", book_price=" + book_price +
                ", book_discount=" + book_discount +
                ", quantity=" + quantity +
                '}';
    }
}
